package cn.wen233.basic.model;

import cn.wen233.basic.utils.IdUtils;
import lombok.Data;

/**
 * 服务节点访问量统计
 *
 * @author wenjie
 * @date 2022-05-07 9:54
 */
@Data
public class InstanceRecord {

    private String id;

    private String namespace;

    private String groupName;

    private String serviceName;

    private String ip;

    private int port;

    private String clientHost;

    private Long visitTime;

    public InstanceRecord() {
        this.id = String.valueOf(IdUtils.snowId());
    }
}
